<?php


/**
 * Radcodes - SocialEngine Module
 *
 * @category   Application_Extensions
 * @package    Game
 * @copyright  Copyright (c) 2009-2010 Radcodes LLC (http://www.radcodes.com)
 * @license    http://www.radcodes.com/license/
 * @version    $Id$
 * @author     Vincent Van <vincent@radcodes.com>
 */
 
class Game_Model_Score extends Core_Model_Item_Abstract
{
  protected $_searchTriggers = array();
  
  protected $_parent_type = 'game';
  protected $_owner_type = 'user';
  
  public function getGame()
  {
    return $this->getParent('game');
  }
  
  public function getUser()
  {
    return $this->getOwner('user');
  }
}
